Ambari遇到TIMELINE SERVER无法启动

Hadoop 2.3之后采用LevelDB作为历史作业的记录保存, 并引入一个叫做App TimeLine Server的角色作为历史记录的保存. 但是当Hadoop从2.3升级到2.4或2.5后,App Timeline Server会发生无法启动的问题,这是由于App TimeLine所使用的Java类发生了变更所导致的。

在yarn-site.xml配置中将

yarn.timeline-service.store-class

从 org.apache.hadoop.yarn.server.applicationhistoryservice.timeline.LeveldbTimelineStore

变更为 org.apache.hadoop.yarn.server.timeline.LeveldbTimelineStore

在Ambari中通过界面配置即可。

Jerky Lu wechat
欢迎加入微信公众号